package com.example.commonbiz

class LoginRepository {
    suspend fun login(user: RequestUser): String? {
        return try {
            val response = RetrofitClient.apiService.login(user)
            println("Response: ${response.toString()}")
            if (response.code == 200) {
                response.data
            } else {
                null
            }
        } catch (e: Exception) {
            null
        }
    }
}